package com.qiji.video.mapper.extend;

import com.github.pagehelper.PageInfo;
import com.qiji.video.bean.BrowsingHistory;
import com.qiji.video.bean.Collection;
import com.qiji.video.bean.Users;
import com.qiji.video.bean.Videos;
import com.qiji.video.bean.vo.BrowsingHistoryAndVideo;
import com.qiji.video.bean.vo.CollectionAndVideo;

import java.util.List;

public interface UserControlExtendMapper {
    //查询所有用户信息
    List<Users> selectUser();

    List<Users> selectByPrimaryKey(Integer id);
    //通过用户id查询浏览历史
    
    List<Videos> selectBHById(Integer uid);
    List<BrowsingHistory> selectBhTimeById(Integer uid);
    //通过用户id查询收藏电影
    List<Videos> selectCLById(Integer uid);
    List<Collection> selectClTimeById(Integer uid);


    List<BrowsingHistoryAndVideo> selectBAByid(Integer uid);

    List<CollectionAndVideo> selectCVByid(Integer uid);
}
